package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-温升测试结果对象 data_tshj_wsh_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@Getter
@ApiModel(value = "提升机-温升测试结果对象")
public class DataTshjWshResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 温升测试结果ID */
    private Long wsId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 1号冷却温度 */
    @Excel(name = "1号冷却温度")
    private String lqwd1;

    /** 2号冷却温度 */
    @Excel(name = "2号冷却温度")
    private String lqwd2;

    /** 1号工作温度 */
    @Excel(name = "1号工作温度")
    private String gzwd1;

    /** 2号工作温度 */
    @Excel(name = "2号工作温度")
    private String gzwd2;

    /** 1号温升 */
    @Excel(name = "1号温升")
    private String wsh1;

    /** 2号温升 */
    @Excel(name = "2号温升")
    private String wsh2;

    /** 温升Svg */
    private String wshSvg;

    /** 温升图路径 */
    @Excel(name = "温升图路径")
    private String wshImg;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setWsId(Long wsId)
    {
        this.wsId = wsId;
    }

    public void setDataTaskId(Long dataTaskId)
    {
        this.dataTaskId = dataTaskId;
    }

    public void setLqwd1(String lqwd1)
    {
        this.lqwd1 = lqwd1;
    }

    public void setLqwd2(String lqwd2)
    {
        this.lqwd2 = lqwd2;
    }

    public void setGzwd1(String gzwd1)
    {
        this.gzwd1 = gzwd1;
    }

    public void setGzwd2(String gzwd2)
    {
        this.gzwd2 = gzwd2;
    }

    public void setWsh1(String wsh1)
    {
        this.wsh1 = wsh1;
    }

    public void setWsh2(String wsh2)
    {
        this.wsh2 = wsh2;
    }

    public void setWshImg(String wshImg)
    {
        this.wshImg = wshImg;
    }

    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public void setWshSvg(String wshSvg) {
        this.wshSvg = wshSvg;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wsResultId", getWsId())
            .append("dataTaskId", getDataTaskId())
            .append("lqwd1", getLqwd1())
            .append("lqwd2", getLqwd2())
            .append("gzwd1", getGzwd1())
            .append("gzwd2", getGzwd2())
            .append("wsh1", getWsh1())
            .append("wsh2", getWsh2())
            .append("wshImg", getWshImg())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
